package org.twnmayberry.ejb;

import java.util.List;

import javax.ejb.Remote;

import org.twnmayberry.dto.ActivityDTO;
import org.twnmayberry.dto.POIDTO;

@Remote
public interface PoiMgmtRemote { 

	public void populateDB();
	
    public void addPOI(POIDTO newPOI); 
    
    public void addPOIFromDMV(long dmvId); 
	
	public void addActivity(long poiID, ActivityDTO newActivity);
	
	public POIDTO getPOI(long id);
	
	public List<POIDTO> getAllPOI();
	
	public boolean isDangerous(POIDTO badGuy);
	
	public void addList(List<POIDTO> newPeeps);
	
	public List<POIDTO> getPOIsByName(String firstName, String middleName, String lastName);
	
	public void publishPOIChange(POIDTO poi, boolean dangerous);
}
